*{
    margin: 0;
    padding: 0;
}

body{
    font-size: 14px;
    font-family: "Microsoft YaHei UI";
    color: #666;
    background-color: #d5d5d5;
}

.login_form{
    width: 430px;
    height: 330px;
    position: fixed;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
    background-color: #fff;
    box-sizing: border-box;
    border-radius: 10px;
    box-shadow: 0 0 20px #999;
    overflow: hidden;
}


.login_form .login_bg{
    width: 100%;
    height: 130px;
    background-color: #40AFFE;
    z-index: -1;
    position: absolute;
}

.login_form .title{
    color: #fff;
    padding: 0 0 10px 15px;
}

.login_form .title .left{
    display: inline-block;
    font-size: 16px;
    padding-top: 10px;
}

.login_form .title span{
    display: inline-block;
    vertical-align: middle;
}

.login_form .title .left i{
    font-size: 20px;
    display: inline-block;
    vertical-align: middle;
}


.login_form .title .right{
    display: inline;
    float: right;
}


.login_form .title .right span{
    line-height: 30px;
    padding: 0 10px;
    font-size: 18px;
    cursor: pointer;
}
.login_form .title .right span:hover{
    background-color: rgba(255, 255, 255, 0.7);
}

.login_form .title .right span.red:hover{
    background-color: rgba(255, 84, 57, 0.9);
}

.login_form .avatar{
    text-align: center;
    padding-top: 54px;
}

.login_form .avatar img{
    width: 64px;
    height: 64px;
    border-radius: 50%;
    border: 1px solid #fff;
    box-shadow: 0 0 10px #777;
}

.login_form form .field{
    border-bottom: 1px solid #ddd;
    width: 240px;
    margin: 20px auto;
    padding-bottom: 5px;
}

.login_form form .field i{
    margin-right: 5px;
    color: #777;
}

.login_form form .field input{
    outline: none;
    border: none;
}


.login_form form .field.active{
    color: #1E9FFF;
    border-bottom: 1px solid #1E9FFF;
}

.login_form form .field.active i{
    color: #1E9FFF;
}

.login_form form .actions{
    text-align: center;
    margin-top: 20px;
}


.login_form form .actions button{
    border: none;
    background-color: #F2F2F2;
    border-radius: 4px;
    line-height: 30px;
    padding: 0 25px;
    font-size: 15px;
    color: #777;
    margin: 0 5px;
    cursor: pointer;
    outline: none;
}

.login_form form .actions button:hover{
    background-color: #DDD;
}

.login_form form .actions button.blue{
    color: #fff;
    background-color: #40AFFE;
}

.login_form form .actions button.blue:hover{
    background-color: #248cfe;
}

.chat_form{
    width: 660px;
    height: 520px;
    position: fixed;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
    background-color: #fff;
    border-radius: 4px;
    box-shadow: 0 0 20px #888;
    overflow: hidden;
}

.chat_form > .title{
    width: 100%;
    height: 40px;
    background-color: rgb(87, 140, 206);
    color: #fff;
    text-align: center;
}

.chat_form > .title > span{
    line-height: 40px;
    font-size: 17px;
    letter-spacing: 2px;
}

.chat_form > .title ul{
    list-style: none;
    position: absolute;
    right: 0;
    top: 0;
}

.chat_form > .title ul li{
    display: inline-block;
    padding: 10px;
    cursor: pointer;
}

.chat_form > .title ul li:hover{
    color: #ff253a;
}

.chat_form > .menus{
    list-style: none;
    border-bottom: 1px solid #ddd;
}

.chat_form > .menus li{
    display: inline-block;
    padding: 10px 10px 0 10px;
}

.chat_form > .menus li span{
    display: inline-block;
    padding: 0 5px 10px 5px;

}

.chat_form > .menus li.active span{
    color: #000;
    border-bottom: 2px solid #000;
}

.chat_form > .main{
    position: relative;
    width: 100%;
    height: 100%;
    box-sizing: border-box;
}

.chat_form > .main > .chat{
    width: 490px;
    height: 100%;
    box-sizing: border-box;
    position: relative;
}

.chat_form > .main > .members{
    width: 170px;
    height: 100%;
    position: absolute;
    right: 0;
    top: 0;
    z-index: 99;
    border-left: 1px solid #ddd;
    padding: 10px;
    box-sizing: border-box;
}

.chat_form > .main > .members img{
    width: 26px;
    height: 26px;
    border-radius: 50%;
    border: 1px solid #ddd;
}

.chat_form > .main > .members .member_list{
    list-style: none;
}

.chat_form > .main > .members .member_list li{
    margin: 10px 0;
}

.chat_form > .main > .members .member_list li img,
.chat_form > .main > .members .member_list li span,
.chat_form > .main > .members .member_list li i{
    display: inline-block;
    vertical-align: middle;
}
.chat_form > .main > .members .member_list li i{
    float: right;
    line-height: 26px;
    color: #888;
}

.main > .chat > .message_list{
    width: 100%;
    height: 300px;
    max-height: 300px;
    overflow-y: auto;
    list-style: none;
    padding: 0 10px;
    box-sizing: border-box;
}

.main > .chat > .message_list li{
    margin: 10px 0;
}

.main > .chat > .message_list li .title{
    color: rgb(0, 128, 64);
    font-size: 13px;
}

.main > .chat > .message_list li .content{
    color: #666;
    font-size: 16px;
    padding: 5px 10px;
}

.main > .chat > .chat_area{
    width: 100%;
    height: 110px;
    position: absolute;
    left: 0;
    bottom: 110px;
    border-top: 1px solid #ddd;
    z-index: 99;
}

.main > .chat > .chat_area .tools{
    list-style: none;
    padding: 0 5px;
}

.main > .chat > .chat_area .tools li{
    display: inline-block;
    padding: 5px;
    cursor: pointer;
    font-size: 17px;
}

.main > .chat > .chat_area .tools li:hover{
    background-color: #F0F0F0;
}

.main > .chat > .chat_area .text_input{
    resize: none;
    height: 70px;
    width: 100%;
    padding: 5px 10px;
    box-sizing: border-box;
    font-size: 17px;
    outline: none;
    border: none;
}

.main > .chat > .chat_area .actions{
    text-align: right;
    padding: 0 10px;
}

.main > .chat > .chat_area .actions button{
    background-color: #fff;
    border: 1px solid #b5b5b5;
    border-radius: 4px;
    height: 26px;
    padding: 0 15px;
    margin: 0 10px;
    color: #777;
    cursor: pointer;
}

.main > .chat > .chat_area .actions button:hover{
    background-color: #f0f0f0;
}

.main > .chat > .chat_area .actions button.blue{
    background-color: #40AFFE;
    color: #fff;
}

.main > .chat > .chat_area .actions button.blue:hover{
    background-color: #2b7bfe;
}